package com.lcy.struct.bTreePlus.entity;

import com.lcy.struct.bTreePlus.disk.core.BPlusTree;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author lucongyang
 * @date Created in  10:10
 * @description
 */
@Setter
@Getter
@ToString
public class RedoInfo implements Serializable {
    /**
     * 事务id
     */
    private Long transactionId;
    /**
     * 需要序列化的b+tree
     */
    private List<BPlusTree> toSerializedBplusTreeList;
    /**
     * 总数
     */
    private Integer count;
    /**
     * 根节点地址
     */
    private Long rootPosition;
    /**
     * 文件末尾指针位置
     */
    private Long endPosition;
}
